package work.shyk.kongMonitor.dto.param;

import com.fasterxml.jackson.databind.JsonNode;
import work.shyk.kongMonitor.dto.param.interfaces.Parser;

/**
 * description: <br>
 * createTime: 2021/3/24 17:14 <br>
 *
 * @author zzh
 */
public class LongValueParser implements Parser<Long> {

    @Override
    public Long parse(JsonNode jsonNode) {
        return jsonNode.get("value").longValue();
    }
}
